home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / lpr.man < prev    next >
Encoding:
Text File  |  1989-01-15  |  5.8 KB  |  199 lines

  1.  
  2.  
  3.  
  4. LPR                       User Commands                       LPR
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      lpr - off line print
  10.  
  11. SSYYNNOOPPSSIISS
  12.      llpprr [ --PP_p_r_i_n_t_e_r ] [ --##_n_u_m ] [ --CC _c_l_a_s_s ] [ --JJ _j_o_b ] [ --TT
  13.      _t_i_t_l_e ] [ --ii [ _n_u_m_c_o_l_s ]] [ --11223344 _f_o_n_t ] [ --ww_n_u_m ] [
  14.      --ppllttnnddggvvccffrrmmhhss ] [ name ...  ]
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      LLpprr uses a spooling daemon to print the named files when
  18.      facilities become available.  If no names appear, the stan-
  19.      dard input is assumed.  The --PP option may be used to force
  20.      output to a specific printer.  Normally, the default printer
  21.      is used (site dependent), or the value of the environment
  22.      variable PRINTER is used.
  23.  
  24.      The following single letter options are used to notify the
  25.      line printer spooler that the files are not standard text
  26.      files. The spooling daemon will use the appropriate filters
  27.      to print the data accordingly.
  28.  
  29.      --pp   Use _p_r(1) to format the files (equivalent to _p_r_i_n_t).
  30.  
  31.      --ll   Use a filter which allows control characters to be
  32.           printed and suppresses page breaks.
  33.  
  34.      --tt   The files are assumed to contain data from _t_r_o_f_f(1)
  35.           (cat phototypesetter commands).
  36.  
  37.      --nn   The files are assumed to contain data from _d_i_t_r_o_f_f
  38.           (device independent troff).
  39.  
  40.      --dd   The files are assumed to contain data from _t_e_x(l) (DVI
  41.           format from Stanford).
  42.  
  43.      --gg   The files are assumed to contain standard plot data as
  44.           produced by the _p_l_o_t(3X) routines (see also _p_l_o_t(1G)
  45.           for the filters used by the printer spooler).
  46.  
  47.      --vv   The files are assumed to contain a raster image for
  48.           devices like the Benson Varian.
  49.  
  50.      --cc   The files are assumed to contain data produced by
  51.           _c_i_f_p_l_o_t(l).
  52.  
  53.      --ff   Use a filter which interprets the first character of
  54.           each line as a standard FORTRAN carriage control char-
  55.           acter.
  56.  
  57.      The remaining single letter options have the following mean-
  58.      ing.
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0              April 29, 1985                         1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. LPR                       User Commands                       LPR
  71.  
  72.  
  73.  
  74.      --rr   Remove the file upon completion of spooling or upon
  75.           completion of printing (with the --ss option).
  76.  
  77.      --mm   Send mail upon completion.
  78.  
  79.      --hh   Suppress the printing of the burst page.
  80.  
  81.      --ss   Use symbolic links.  Usually files are copied to the
  82.           spool directory.
  83.  
  84.      The --CC option takes the following argument as a job classif-
  85.      ication for use on the burst page.  For example,
  86.  
  87.           lpr -C EECS foo.c
  88.  
  89.      causes the system name (the name returned by _h_o_s_t_n_a_m_e(1)) to
  90.      be replaced on the burst page by EECS, and the file foo.c to
  91.      be printed.
  92.  
  93.      The --JJ option takes the following argument as the job name
  94.      to print on the burst page.  Normally, the first file's name
  95.      is used.
  96.  
  97.      The --TT option uses the next argument as the title used by
  98.      _p_r(1) instead of the file name.
  99.  
  100.      To get multiple copies of output, use the --##_n_u_m option,
  101.      where _n_u_m is the number of copies desired of each file
  102.      named.  For example,
  103.  
  104.           lpr -#3 foo.c bar.c more.c
  105.  
  106.      would result in 3 copies of the file foo.c, followed by 3
  107.      copies of the file bar.c, etc.  On the other hand,
  108.  
  109.           cat foo.c bar.c more.c | lpr -#3
  110.  
  111.      will give three copies of the concatenation of the files.
  112.  
  113.      The --ii option causes the output to be indented. If the next
  114.      argument is numeric, it is used as the number of blanks to
  115.      be printed before each line; otherwise, 8 characters are
  116.      printed.
  117.  
  118.      The --ww option takes the immediately following number to be
  119.      the page width for _p_r.
  120.  
  121.      The --ss option will use _s_y_m_l_i_n_k(2) to link data files rather
  122.      than trying to copy them so large files can be printed.
  123.      This means the files should not be modified or removed until
  124.      they have been printed.
  125.  
  126.  
  127.  
  128.  
  129. Sprite v1.0              April 29, 1985                         2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. LPR                       User Commands                       LPR
  137.  
  138.  
  139.  
  140.      The option --11223344 Specifies a font to be mounted on font
  141.      position _i.  The daemon will construct a ._r_a_i_l_m_a_g file
  142.      referencing /_u_s_r/_l_i_b/_v_f_o_n_t/_n_a_m_e._s_i_z_e.
  143.  
  144. FFIILLEESS
  145.      /etc/passwd            personal identification
  146.      /etc/printcap          printer capabilities data base
  147.      /usr/lib/lpd*          line printer daemons
  148.      /usr/spool/*           directories used for spooling
  149.      /usr/spool/*/cf*       daemon control files
  150.      /usr/spool/*/df*       data files specified in "cf" files
  151.      /usr/spool/*/tf*       temporary copies of "cf" files
  152.  
  153. SSEEEE AALLSSOO
  154.      lpq(1), lprm(1), pr(1), symlink(2), printcap(5), lpc(8),
  155.      lpd(8)
  156.  
  157. DDIIAAGGNNOOSSTTIICCSS
  158.      If you try to spool too large a file, it will be truncated.
  159.      _L_p_r will object to printing binary files.  If a user other
  160.      than root prints a file and spooling is disabled, _l_p_r will
  161.      print a message saying so and will not put jobs in the
  162.      queue.  If a connection to _l_p_d on the local machine cannot
  163.      be made, _l_p_r will say that the daemon cannot be started.
  164.      Diagnostics may be printed in the daemon's log file regard-
  165.      ing missing spool files by _l_p_d.
  166.  
  167. BBUUGGSS
  168.      Fonts for _t_r_o_f_f and _t_e_x reside on the host with the printer.
  169.      It is currently not possible to use local font libraries.
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195. Sprite v1.0              April 29, 1985                         3
  196.  
  197.  
  198.  
  199.